import {createWebHashHistory, createRouter} from 'vue-router'
const history = createWebHashHistory()
const router = createRouter({
    history,
    routes: [
        {
            path: '/',
            name: 'home',
            component: () => import(/* webpackChunkName: home */ '../../src/pages/homes/index.vue')
        },
        {
            path: '/provide',
            name: 'provide',
            component: () => import(/* webpackChunkName: provide */ '../../src/pages/vue3test/provide/index.vue')
        },
        {
            path: '/test1',
            name: 'test1',
            component: () => import(/* webpackChunkName: test1 */ '../../src/pages/vue3test/test1/index.vue')
        },
        {
            path: '/test2',
            name: 'test2',
            component: () => import(/* webpackChunkName: test2 */ '../../src/pages/vue3test/test2/index.vue')
        },
        {
            path: '/teleport',
            name: 'teleport',
            component: () => import(/* webpackChunkName: teleport */ '../../src/pages/vue3test/teleport/index.vue')
        },
        {
            path: '/selfDefineHook',
            name: 'selfDefineHook',
            component: () => import(/* webpackChunkName: selfDefineHook */ '../../src/pages/vue3test/selfDefineHook/index.vue')
        },
        {
            path: '/suspense',
            name: 'suspense',
            component: () => import(/* webpackChunkName: suspense */ '../../src/pages/vue3test/suspense/index.vue')
        }
    ],
})
export default router